const fs = require('fs');
const indexMock = require('./data/index');
const path = require('path');
const _ = require('underscore');

const mockFiles = fs.readdirSync(path.join(__dirname, 'data'));
let mockJSON = {};
_.each(mockFiles, mock => {
  _.assign(mockJSON, require('./data/' + mock));
});
module.exports = function (argument) {
  return mockJSON
} 
